﻿using System.Linq;
using SocialShare.BusinessEntities;

namespace SocialShare.BusinessLogicLayer
{
    internal partial class SocailShare_Site_ContentsBLL
    {
        internal SocailShare_Site_Contents GetSite_ContentsByCmsType(string cmsType)
        {
            return (_socialShareDatabaseContext.SocailShare_Site_Contents.FirstOrDefault(memObject => memObject.CmsType == cmsType));
        }
    }
}
